home *** CD-ROM | disk | FTP | other *** search
- function init()
- {
- if(this._parent == undefined)
- {
- Stage.align = "LT";
- Stage.scaleMode = "noScale";
- fsp_path = "";
- folder = "";
- bmPanelListener.onResize = setLocalPos;
- Stage.addListener(bmPanelListener);
- generateSettings();
- setStartScreen();
- setLocalPos();
- loadContentXml();
- }
- else
- {
- bmPanelListener.onCustomResize = setLocalPos;
- _root.content_pos_mc.content_panel_mc.addListener(bmPanelListener);
- setStartScreen();
- setLocalPos();
- video_array = _root.video_array;
- loadPdBookmarks();
- }
- }
- this.onEnterFrame = function()
- {
- if(this.getBytesLoaded() >= this.getBytesTotal())
- {
- delete this.onEnterFrame;
- if(this._parent == undefined)
- {
- local_test = true;
- v2b_so = SharedObject.getLocal("video2brain_test","/");
- init();
- }
- }
- };
-